package cn.itcast.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
public class RequestParams {
    private String key;
    private Integer page;
    private Integer size;
    private String sortBy;
    private String city;
    private String brand;
    private String starName;
    private Integer minPrice;
    private Integer maxPrice;

    public RequestParams() {
    }

    public RequestParams(String key, Integer page, Integer size, String sortBy) {
        this.key = key;
        this.page = page;
        this.size = size;
        this.sortBy = sortBy;
    }
}
